package com.app.tool.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class EmsSubstationUpdateJob {
    @Scheduled(fixedRate = 60000)
    public void insertOrUpdateData() {
        log.info("每分钟执行一次定时任务...");
    }
}
